﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Logistics.Setup
{
    public interface IDepartmentAppService : IApplicationService
    {
        //显示
        Task<PagedResultDto<DepartmentDto>> GetDepartmentAsync(GetDepartmentListDto dto);
        //删除
        Task DeleteAsync(int id);
        ////批量删除
        int DeletePdeleteAsync(string ids);
        //添加
        Task<DepartmentDto> CreateAddAsync(CreateDepartmentDto input);
        /// <summary>
        /// 反填
        /// </summary>
        Task<DepartmentDto> GetAsync(int id);
        //修改
        Task UpdateAsync(int id, CreateDepartmentDto input);
    }
}
